Optimal. Leaf size=56 \[ \frac{5 x^3}{3}-\frac{\left (51 x^2+50\right ) x}{2 \left (x^4+3 x^2+2\right )}-27 x+\frac{13}{2} \tan ^{-1}(x)+33 \sqrt{2} \tan ^{-1}\left (\frac{x}{\sqrt{2}}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.121756, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.129 \[ \frac{5 x^3}{3}-\frac{\left (51 x^2+50\right ) x}{2 \left (x^4+3 x^2+2\right )}-27 x+\frac{13}{2} \tan ^{-1}(x)+33 \sqrt{2} \tan ^{-1}\left (\frac{x}{\sqrt{2}}\right ) \]
Antiderivative was successfully verified.
[In] Int[(x^4*(4 + x^2 + 3*x^4 + 5*x^6))/(2 + 3*x^2 + x^4)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 21.6324, size = 53, normalized size = 0.95 \[ \frac{5 x^{3}}{3} - \frac{x \left (24786 x^{2} + 24300\right )}{972 \left (x^{4} + 3 x^{2} + 2\right )} - 27 x + \frac{13 \operatorname{atan}{\left (x \right )}}{2} + 33 \sqrt{2} \operatorname{atan}{\left (\frac{\sqrt{2} x}{2} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**4*(5*x**6+3*x**4+x**2+4)/(x**4+3*x**2+2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.08301, size = 57, normalized size = 1.02 \[ \frac{5 x^3}{3}+\frac{-51 x^3-50 x}{2 \left (x^4+3 x^2+2\right )}-27 x+\frac{13}{2} \tan ^{-1}(x)+33 \sqrt{2} \tan ^{-1}\left (\frac{x}{\sqrt{2}}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(x^4*(4 + x^2 + 3*x^4 + 5*x^6))/(2 + 3*x^2 + x^4)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.019, size = 46, normalized size = 0.8 \[{\frac{5\,{x}^{3}}{3}}-27\,x-26\,{\frac{x}{{x}^{2}+2}}+33\,\arctan \left ( 1/2\,\sqrt{2}x \right ) \sqrt{2}+{\frac{x}{2\,{x}^{2}+2}}+{\frac{13\,\arctan \left ( x \right ) }{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^4*(5*x^6+3*x^4+x^2+4)/(x^4+3*x^2+2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.797375, size = 65, normalized size = 1.16 \[ \frac{5}{3} \, x^{3} + 33 \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2} x\right ) - 27 \, x - \frac{51 \, x^{3} + 50 \, x}{2 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} + \frac{13}{2} \, \arctan \left (x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^4/(x^4 + 3*x^2 + 2)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.264796, size = 93, normalized size = 1.66 \[ \frac{10 \, x^{7} - 132 \, x^{5} - 619 \, x^{3} + 198 \, \sqrt{2}{\left (x^{4} + 3 \, x^{2} + 2\right )} \arctan \left (\frac{1}{2} \, \sqrt{2} x\right ) + 39 \,{\left (x^{4} + 3 \, x^{2} + 2\right )} \arctan \left (x\right ) - 474 \, x}{6 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^4/(x^4 + 3*x^2 + 2)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.578609, size = 53, normalized size = 0.95 \[ \frac{5 x^{3}}{3} - 27 x - \frac{51 x^{3} + 50 x}{2 x^{4} + 6 x^{2} + 4} + \frac{13 \operatorname{atan}{\left (x \right )}}{2} + 33 \sqrt{2} \operatorname{atan}{\left (\frac{\sqrt{2} x}{2} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**4*(5*x**6+3*x**4+x**2+4)/(x**4+3*x**2+2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.27167, size = 65, normalized size = 1.16 \[ \frac{5}{3} \, x^{3} + 33 \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2} x\right ) - 27 \, x - \frac{51 \, x^{3} + 50 \, x}{2 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} + \frac{13}{2} \, \arctan \left (x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^4/(x^4 + 3*x^2 + 2)^2,x, algorithm="giac")
[Out]